package com.org.csu.service;

import com.org.csu.pojo.KeywordDTO;
import com.org.csu.pojo.Record;
import com.org.csu.pojo.User;

import java.util.List;

public interface accountService {
    public  String isExistUserName(String username);
    public Integer getUserIdbyName(String username);
    public String isRightOfAccount(String username, String password);
    public String setUserInfo(User user);
    public User getuserInfoByUserId(Integer userId);
    public List<Record> getrecordInfoByUserId(Integer userId);
    public String recharge(Integer userId, Integer permission);
    public Integer getrecordIdByinformations(Integer userId,String keyword,String date);
    public KeywordDTO getinformationsByrecordId(Integer recordId);

}
